﻿using System.Web.Mvc;
using AllIsWell.Services.Infrastructure;

namespace AllIsWell.Web.Controllers
{
    public class DestinyController : Controller
    {
        private readonly IDestinyService _destinyService;

        public DestinyController(IDestinyService destinyService)
        {
            _destinyService = destinyService;
        }

        public PartialViewResult Index()
        {
            return PartialView("_Index", _destinyService.Destinies);
        }
    }
}
